all:parser searchar server
searchar:searchar.cc
	g++ -o $@ $^ -ljsoncpp -lboost_system -lboost_filesystem -std=c++11
parser:parser.cc
	g++ -o $@ $^ -ljsoncpp -lboost_system -lboost_filesystem -std=c++11
server:server.cc
	g++ -o $@ $^ -lpthread -ljsoncpp -lboost_system -lboost_filesystem -std=c++11
.PHONY:clean
clean:
	rm -r  server